package com.tyqx.hashchaindao.mapper;

import java.util.List;

import com.tyqx.hashchainbean.module.HashIndex;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

public interface HashIndexMapper {

    public Integer insert(HashIndex record);

    public List<HashIndex> getHashIndexByHashValue(@Param("hashValue")String hashValue);

    public  List<String> getHashValueList(String rootHashValue);

    public Integer insertBatch(@Param("hashIndexList")List<HashIndex> hashIndexList);
}